package com.dianxun.exam.entity;

import org.greenrobot.greendao.annotation.Convert;
import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Unique;

import java.util.List;

/**
 * 暂存
 */
@Entity
public class TempSaveBean {

    private String tikuId;
    private long leftTime;
    private long startTime;
    private String userId;
    @Convert(columnType = String.class, converter = AnswerJudgmentListConverter.class)
    private List<AnswerJudgmentListBean> judgmentList;
    @Convert(columnType = String.class, converter = AnswerChoiceListConverter.class)
    private List<AnswerChoiceListBean> choiceList;
    @Generated(hash = 207223912)
    public TempSaveBean(String tikuId, long leftTime, long startTime, String userId,
            List<AnswerJudgmentListBean> judgmentList,
            List<AnswerChoiceListBean> choiceList) {
        this.tikuId = tikuId;
        this.leftTime = leftTime;
        this.startTime = startTime;
        this.userId = userId;
        this.judgmentList = judgmentList;
        this.choiceList = choiceList;
    }
    @Generated(hash = 933620745)
    public TempSaveBean() {
    }
    public String getTikuId() {
        return this.tikuId;
    }
    public void setTikuId(String tikuId) {
        this.tikuId = tikuId;
    }
    public long getLeftTime() {
        return this.leftTime;
    }
    public void setLeftTime(long leftTime) {
        this.leftTime = leftTime;
    }
    public long getStartTime() {
        return this.startTime;
    }
    public void setStartTime(long startTime) {
        this.startTime = startTime;
    }
    public String getUserId() {
        return this.userId;
    }
    public void setUserId(String userId) {
        this.userId = userId;
    }
    public List<AnswerJudgmentListBean> getJudgmentList() {
        return this.judgmentList;
    }
    public void setJudgmentList(List<AnswerJudgmentListBean> judgmentList) {
        this.judgmentList = judgmentList;
    }
    public List<AnswerChoiceListBean> getChoiceList() {
        return this.choiceList;
    }
    public void setChoiceList(List<AnswerChoiceListBean> choiceList) {
        this.choiceList = choiceList;
    }

}